class Metric(object):
    def __init__(self,correct,total):
        super(Metric, self).__init__()
        self.correct = correct
        self.total = total

    def accuracy(self):
        return (self.correct/self.total)*100